import request from '@/utils/request'

export function queryInvestInfoByPage(data) {
  return request({
    url: '/invest/manage/queryInvestInfoByPage',
    method: 'post',
    data
  })
}

export function addInvest(data) {
  return request({
    url: '/invest/manage/addInvest',
    method: 'post',
    data
  })
}

export function uptInvest(data) {
  return request({
    url: '/invest/manage/uptInvest',
    method: 'post',
    data
  })
}

export function queryForUpdate(data) {
  return request({
    url: '/invest/manage/queryForUpdate',
    method: 'post',
    data
  })
}

export function delInvest(data) {
  return request({
    url: '/invest/manage/delInvest',
    method: 'post',
    data
  })
}